<?php

namespace App\Http\Controllers;


use App\Models\User;

class PagesController extends Controller {
    public function root() {
        return view('pages.root');
    }
    public function rbacDenied(){
        if(config('administrator.permission')()){
            return redirect(url(config('administrator.uri')),302);
        }
        return view('pages.rbac_denied');
    }
}
